package com.stars.common.enums;

import lombok.Getter;

/**
 * 任务状态
 * Created by luodajie on 2019/10/12.
 */
public enum JobOperateEnum {
    START(1, "启动"),
    PAUSE(2, "暂停"),
    DELETE(3, "删除");
    @Getter
    private final Integer value;
    @Getter
    private final String desc;

    JobOperateEnum(final Integer value, final String desc) {
        this.value = value;
        this.desc = desc;
    }
    public String getEnumName() {
        return name();
    }
}
